package bam.entity;

import java.util.Date;

/**
 * RealtimevipId entity. @author MyEclipse Persistence Tools
 */

public class RealtimevipId implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userid;
	private Integer nameCode;
	private String fees;
	private Integer pledge = -1;
	private Integer speed;
	private Date setTime;
	private Integer wayId;
	private Integer areaid = -1;
	private String account ="";

	// Constructors

	/** default constructor */
	public RealtimevipId() {
	}

	/** minimal constructor */
	public RealtimevipId( Date setTime,Integer areaid,
			String account,Integer pledge) {
		this.areaid=areaid;
		this.setTime = setTime;
		this.pledge = pledge;
		this.account = account;
	}

	/** full constructor */
	public RealtimevipId(Integer id, Integer userid, Integer nameCode,
			String fees, Integer pledge, Integer speed, Date setTime,
			Integer wayId, Integer areaid, String account) {
		this.id = id;
		this.userid = userid;
		this.nameCode = nameCode;
		this.fees = fees;
		this.pledge = pledge;
		this.speed = speed;
		this.setTime = setTime;
		this.wayId = wayId;
		this.areaid = areaid;
		this.account = account;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getNameCode() {
		return this.nameCode;
	}

	public void setNameCode(Integer nameCode) {
		this.nameCode = nameCode;
	}

	public String getFees() {
		return this.fees;
	}

	public void setFees(String fees) {
		this.fees = fees;
	}

	public Integer getPledge() {
		return this.pledge;
	}

	public void setPledge(Integer pledge) {
		this.pledge = pledge;
	}

	public Integer getSpeed() {
		return this.speed;
	}

	public void setSpeed(Integer speed) {
		this.speed = speed;
	}



	public Date getSetTime() {
		return setTime;
	}

	public void setSetTime(Date setTime) {
		this.setTime = setTime;
	}

	public Integer getWayId() {
		return this.wayId;
	}

	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	public Integer getAreaid() {
		return this.areaid;
	}

	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	@Override
	public String toString() {
		return "RealtimevipId [id=" + id + ", userid=" + userid + ", nameCode="
				+ nameCode + ", fees=" + fees + ", pledge=" + pledge
				+ ", speed=" + speed + ", setTime=" + setTime + ", wayId="
				+ wayId + ", areaid=" + areaid + ", account=" + account + "]";
	}


}